Class LinkImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.LinkImpl
All Implemented Interfaces:
IPCObject, Link
Direct Known Subclasses:
AntennaImpl, CableImpl

public class LinkImpl extends IPCObjectImpl implements Link
Information provided by the PKI file:

    \class Link
    
    \brief Link is the class that handles the connection link.
    
    \example network().getDevice("Router0").getPort("FastEthernet0/0").getLink()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • getConnectionType

      public ConnectType getConnectionType()
      Information provided by the PKI file:
      
          \brief Returns the connection type.
          
          \return CONNECT_TYPES,      the connection type.
          Connection types:                   FIRST_TYPE = 8100,
          ETHERNET_STRAIGHT = FIRST_TYPE,
          ETHERNET_CROSS,
          ETHERNET_ROLL,
          FIBER,
          PHONE,
          CABLE,
          SERIAL,
          AUTO,
          CONSOLE,
          WIRELESS,
          COAXIAL,
          OCTAL,
          CELLULAR,
          USB,
          CUSTOM_IO,
          BLUETOOTH_PAIRED,
          BLUETOOTH_BROADCAST,
          LAST_TYPE = BLUETOOTH_BROADCAST
          
              
      Specified by:
      getConnectionType in interface Link
      Returns:
      ConnectType Returns a ConnectType